import { createApp } from 'vue'
import App from './App.vue'
import axios from "axios";
import "../static/css/chat.css";
import "../static/css/chat1.css";


const app = createApp(App);

// 创建 axios 实例
const axiosInstance = axios.create({
    baseURL: 'http://localhost:8080/',
    // 其他配置...
});

// 将 axios 实例添加到 Vue 应用的配置中
app.config.globalProperties.$axios = axiosInstance;

app.mount('#app');